package com.epam.klymanov.tools;

public class PolygonColor {

	
	public static String getColor(int pollution){
		
		switch (pollution) {
		  case 2: 
			  return "#9AFF9A";
		case 4: 
			  return "#C8FE2E";
		   
		  case 10: 
			  return "#F7FE2E";
		   
		  case 20: 
			  return "#FACC2E";
		    
		  case 40: 
			  return "#DBA901";
		    
		  case 100: 
			  return "#DF7401";
		    
		  case 185: 
			  return "#8A4B08";
		    
		  case 555: 
			  return "#8A2908";
		    
		  case 1480: 
			  return "#3B0B0B";
		    
		  default: 
			  return "#FBEFEF";
		}	
		
		
		
		
		
		
	}
	
	
	
}
